package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author wang
 * @version 版本号 ${}
 * @className DeptTree
 * @日期 2024/9/12 10:40
 * @since jdk1.8
 */
@ApiModel ("部门树")
@Data
public class DeptTree {
    @ApiModelProperty ("部门id")
    int id;
    
    
    @ApiModelProperty ("部门名称")
    String name;
    
    @ApiModelProperty("子部门")
    List<DeptTree> children;
}
